<template>
	<view class="container">
		<uni-card :title="`当前入库单为：${orderCode}`" >
			<text class="uni-body">
				<view>已入库：</view>
				<view>XXXXX</view>
				<view>XXXXX</view>
				<view>未入库：</view>
				<view>XXXXX</view>
				<view>XXXXX</view>
			</text>
		</uni-card>
		<u-button style="margin-top: 20rpx;" type="primary" text="将剩余物料入临时仓" @click="submit"></u-button>
	</view>
</template>

<script>
	import uniCard from '@/node_modules/@dcloudio/uni-ui/lib/uni-card/uni-card.vue'; 
	export default {
		components: {
			uniCard
		},
		data() {
			return {
				orderCode: ''
			};
		},
		onLoad(options) {
			this.orderCode = options.orderCode
			console.log(options.orderCode);
		}
	}
</script>

<style lang="scss" scoped>
/deep/ .uni-card {
	margin: 0 !important;
	padding: 10rpx !important;
}
</style>
